package com.xd.center.http.annotation;

import com.xd.center.http.config.HttpClientsRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @comment @EnableHttpClient("com.base.api")
 * scan package name
 * @see @HttpClient class
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import(HttpClientsRegistrar.class)
public @interface EnableHttpClient {

  String[] packages() default {};

}
